package com.barneyx.mshinfoplatform.mapper.admin;

import com.barneyx.mshinfoplatform.entity.admin.AdminRoleEntity;
import com.barneyx.mshinfoplatform.mapper.MshBaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

public interface IAdminRoleEntityMapper extends MshBaseMapper<AdminRoleEntity> {
    @Delete("DELETE FROM `msh_infos`.`msh_admin_role_list` WHERE  `role_id`=#{roleid};")
    void deleteRoleById(@Param("roleid")Serializable roleId);
//    void deleteRoleById(Serializable roleId);
}
